Level detection by voltage addition/subtraction

ABSTRACT

A circuit is designed with a first transistor (661) having a current path coupled between a supply terminal (32) and a first output terminal (665). A second transistor has a current path coupled between the first output terminal and a reference terminal. The current path of the second transistor current path has substantially the same width and length as the first transistor current path. A first comparator circuit (679, 685) has first (668) and second (23) input terminals and a second output terminal (681). The first input terminal is coupled to the first output terminal. The first comparator circuit produces a control signal in response to a voltage between the first and second input terminals. A generator circuit (80) receives the control signal and produces an output voltage at the supply terminal.

CLAIM TO PRIORITY OF PROVISIONAL APPLICATION

This application claims priority under 35 U.S.C. §121 as a division of application Ser. No. 09/383,696, filed Aug. 26, 1999, which claims priority under 35 U.S.C. §119(e)(1) of provisional application Ser. No. 60/098,671, filed Sep. 1, 1998, the entirety of which is incorporated herein by reference.

FIELD OF THE INVENTION

This invention relates to an integrated circuit and more particularly to an integrated circuit with a voltage level detector using voltage addition or subtraction.

BACKGROUND OF THE INVENTION

Present complementary metal oxide semiconductor (CMOS) synchronous dynamic random access memory (SDRAM) circuits are frequently used for main memory m a variety of applications including desk top and portable computer systems. Advances in system technology continually reduce feature sizes and gate dielectric thickness. Internal operating voltages must be closely regulated for these reduced feature sizes and gate dielectric thickness in order to maintain reliability. Moreover, this regulation must be effective over a wide range of external voltage and temperature.

Regulation a internal voltage supplies, such as Vpp and Vbb, for SDRAM and FLASH memory circuits is particularly critical due to the relatively high electric field across the gate dielectric of memory cells during a memory operation. Large variations in voltage supplies Vpp or Vbb may degrade memory cell transistor performance characteristics over time and even lead to dielectric rupture and field failure of SDRAM memory cells. Large variations in voltage supply Vbb may degrade overall circuit performance through transistor threshold voltage variation due to body effect. Previous regulation attempts were based on detecting variation of voltage supplies Vpp and Vbb by an integral number of transistor threshold voltages with respect to supply voltage Vdd or reference voltage Vss. For example, the Vpp level detector circuit of FIG. 9A includes series connected reference transistors 901, 903 and 909 having channel width to length (W/L) ratios of 28/1, 2/5 and 2/5, respectively. These different ratios of reference transistors have a disadvantage of producing reference voltage errors due to transistor threshold voltage variations. The Vbb level detector circuit of FIG. 9B includes series connected P channel reference transistors 951, 953 and 955 and N-channel reference transistors 957 and 959. These reference transistors produce even greater reference voltage errors due to threshold voltage variation, conductivity type and body effect differences arising from different bulk-to-source voltages. These reference voltage errors produce significant variation in regulated levels of voltage supplies such as Vpp or Vbb. Thus, methods of the prior art failed to closely regulate the value of voltage supplies due to a wide variation of transistor threshold voltage with temperature and process parameter variations.

SUMMARY OF THE INVENTION

These problems are resolved by a circuit, comprising a first transistor having a current path coupled between a supply terminal and a first output terminal, the first transistor current path having a width and a length. A second transistor has a current path coupled between the first output terminal and a reference terminal and has substantially the same width and length as the first transistor current path. A first comparator circuit has first and second input terminals and a second output terminal. The first input terminal is coupled to the first output terminal. The first comparator circuit produces a control signal in response to a voltage between the first and second input terminals. A generator circuit is coupled to receive the control signal and produces an output voltage at the supply terminal.

The present invention linearly translates the supply voltage to a reference voltage without loss of accuracy due to transistor threshold voltage, temperature or supply voltage variation.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete understanding of the invention may be gained by reading the subsequent detailed description with reference to the drawings wherein:

FIG. 1 is a block diagram of a regulator circuit which may employ a level detector of the present invention;

FIG. 2 is a schematic diagram of a bandgap reference circuit of the level detector circuit of the present invention;

FIG. 3 is a schematic diagram of a burn in reference circuit of the level detector circuit of the present invention;

FIG. 4 is a schematic diagram of a voltage multiplier circuit of the level detector circuit of the present invention;

FIG. 5 is a schematic diagram of a supply voltage op amp circuit of the level detector circuit of the present invention;

FIG. 6A is a schematic diagram of a standby Vpp level detector circuit of the instant invention with voltage subtraction;

FIG. 6B is a schematic diagram of an active Vpp level detector circuit of the instant invention with voltage subtraction;

FIG. 6C is a schematic diagram of a multiplex circuit of the level detector circuit of the instant invention;

FIG. 7 is a schematic diagram of a Vbb level detector circuit of the instant invention with voltage addition;

FIG. 8A is a simulation diagram of the Vpp level detector circuit of FIG. 6B;

FIG. 8B is a simulation diagram of the Vbb level detector circuit of FIG. 7;

FIG. 9A is a schematic diagram of a Vpp level detector circuit of the prior art; and

FIG. 9B is a schematic diagram of a Vbb level detector circuit of the prior art.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

A regulator circuit which may employ the level detector of the present invention as shown in FIG. 1 will be described in detail. The regulator circuit includes a bandgap reference generator 20 to produce stable reference voltages VBNDREF and VBIAS based on physical properties of a PN junction of a bipolar transistor. A burn in reference circuit 30 produces another set of reference voltages for use during a high voltage burn in test of the semiconductor device. Voltage multiplier circuit 40 receives these reference voltages and produces a set of stable reference voltages for various voltage supply generators on the semiconductor device in response to burn in control signal VBINENB on lead 11. The peripheral voltage supply op amp 50, for example, produces regulated peripheral voltage supply VPERI on lead 26 in response to reference voltage VREFPERI on lead 19. Likewise, the array voltage supply op amp 55 produces regulated array voltage supply VARY on lead 27 in response to reference voltage VREFARY on lead 21. Standby 60 and active 65 Vpp detector circuits receive reference voltages VPPREFA and VPPREF for producing control signals VPPSLOW and VPPALOW, respectively. The Vpp detector multiplex circuit 69 passes the proper control signal to Vpp generator 80 as control signal VPPLOW on lead 31 in response to read control signal VPRDB on lead 24. Here, the Vpp generator 80 may be any of several charge pump designs comprising oscillator, diode and capacitor circuits for producing a high voltage supply for the semiconductor device as is well known to those of ordinary skill in the art. This Vpp generator circuit produces a regulated Vpp supply voltage on lead 32 in response to control signal VPPLOW. Finally, the Vbb or substrate voltage supply detector receives reference signal VREFARY on lead 21 and produces control signal VBBLOWB on lead 33. The Vbb generator circuit 85, which may also be any of several charge pump designs, then produces the regulated negative voltage supply Vbb on lead 34 in response to reference voltage VREFARY on lead 21.

Turning now to FIG. 2, operation of the bandgap reference generator circuit 20 will be explained in detail. The bandgap reference generator includes a first cascode current mirror circuit formed by P channel transistors 201, 205, 203 and 207. This first cascode mirror circuit is in series with a second current mirror circuit formed by N channel transistors 209 and 211. Both current mirrors are in series with a Widlar reference circuit formed by resistor 213 and bipolar transistors 215 and 217. Each series-connected transistor of a first set 201, 203, 209 and 215 corresponds in size, type and conductivity to a respective counterpart in the second set 205, 207, 211 and 217, thereby forming two parallel current paths. Each current path is designed so that the MOS transistors operate in saturation mode and conduct 2.4 μA of current. Bipolar transistors 215 and 217 have areas that are a multiple of 1 and 8, respectively. This greater area of transistor 217 produces a smaller Vbe than that of transistor 215. The difference in Vbe is equal to a voltage across resistor 213, thereby maintaining the same voltage at terminals 210 and 212. The bandgap voltage of the bipolar transistors 215 and 217 has a negative temperature coefficient while resistor 213 has a positive temperature coefficient. Thus, the current through each path remains at a relatively constant 2.4 μA over temperature variations of interest. Common P channel gate leads are connected to respective P channel transistors 227 and 229. These P channel transistors have the same W/L=40/9 as corresponding P channel transistors 201, 203 and 205, 207. The current through series-connected transistors 227 and 229 and bipolar transistor 241, therefore, is also 2.4 μA. Moreover, the voltage Vbe (0.695 V) of bipolar transistor 241 in combination with the voltage developed across resistor 233 (237.5KΩ*2.4 μA=0.57 V) produces a stable reference signal VBNDREF of 1.265 V. A fourth current path including P channel transistors 235 and 237 is designed with W/L=10/9, thereby conducting 0.6 μA. An N channel transistor 239 is included in series with the current path to produce reference signal VBIAS at slightly more than an N channel transistor threshold voltage on lead 13.

Turning now to FIG. 3, operation of a burn in reference circuit 30 will be explained in detail. A burn in test is initiated when a reference circuit (not shown) detects a high level of external voltage Vdd ext on lead 302 and produces active low burn in enable signal VBINENB on lead 11. Inverter 307 produces a high output signal that turns on N channel transistors 305 and 309. Transistor 305 connects the common gate-drain terminal of transistor 303 to ground, thereby producing a voltage equal to half of external voltage Vdd ext on lead 311. This half Vdd ext level is applied to the control gate of input transistor 319 of a comparator which is activated by N channel transistor 309. The output of the comparator at lead 327 is applied to N channel feedback transistor 329, thereby producing the same half Vdd ext at the control gate of input transistor 321. A reference current through feedback transistor 329 is determined by N channel transistors 337 and 339 and their respective bias levels VBIASN0 and VBIASN1. The drain of N channel transistor 329 receives supply voltage Vdd ext through P channel transistor 325 which is also activated by signal VBINENB. Reference voltage VREFPERIBI, therefore, is equal to half Vdd ext minus a product of the reference current and 200KΩ resistor 331. Likewise, reference voltage VREFARYBI is equal to half Vdd ext minus a product of the reference current and the 375KΩ sum of resistors 331 and 333. Reference voltage VPPREFABI, however, is equal to Vdd ext minus a product of the reference current and 750KΩ resistor 343. Thus, burn in reference voltages are produced with respect to Vdd ext. This is highly advantageous since it permits a memory tester to simultaneously control several internal voltage supplies during burn in by the application of Vdd ext.

The voltage multiplier circuit 40 of FIG. 4 receives reference voltages produced by bandgap reference circuit 20 and bum in reference circuit 30. A comparator including current source transistors 401 and 405 and input transistors 409 and 410 is activated by reference voltage VBIAS at the control gate of N channel transistor 411. Each of the current source transistors is designed to conduct 1.0 μA. A first input transistor 409 receives reference voltage VBNDREF. This reference level is duplicated as level VI at the control gate of a second input transistor 410. An output terminal 407 of the comparator is coupled to gate of P channel transistor 415. The W/L of transistor 415 is twice that of either of transistors 401 or 405, thereby conducting a reference current of 2.0 μA. This reference current is further conducted through a resistive element including resistors 419, 429, 431, 435, 443, 447, 448 and 455. This resistive element may be preferably formed from a P+ doped region, an N+ doped region, a polycrystalline silicon region or other suitable resistive material. Multiple reference voltage levels are produced at respective output terminals along the length of the resistive element with respect to ground by multiplying a stable reference current with known resistance values. For example, the voltage level at output terminal 449 of the resistive element is equal to a product of the 2.0 μA reference current and the 450 KΩ sum of resistors 448 and 455 or 0.9 V. This is highly advantageous, since it provides stable internal reference voltages with respect to ground for normal circuit operation independent of the noise on external voltage Vdd ext of the memory system.

Control signal VBINENB is high during normal circuit operation. This high level and the resulting low level on lead 427 turn on CMOS pass gates 421, 437 and 451, thereby producing reference voltages on leads 417, 433 and 449 at leads 22, 19 and 21, respectively. Alternatively, when control signal VBINENB is low during a burn in test, CMOS pass gates 421, 437 and 451 are off and CMOS pass gates 423, 439 and 453 are on, thereby applying burn in reference voltages VPPREFABI, VREFPERIBI and VREFARYBI to leads 22, 19 and 21, respectively.

Turning now to FIG. 5, operation of a supply voltage op amp circuit 50 will be explained in detail. Supply voltage VARY op amp circuit 55 is the same as VPERI supply voltage op amp circuit 50. The op amp circuit 50 includes a comparator circuit with current source transistors 503 and 515 and input transistors 507 and 521 and a buffer circuit with transistors 501, 517, 509 and 513. An output terminal 523 of the buffer circuit is connected to the control gate of P channel drive transistor 525 for producing supply voltage VPERI at lead 26. In normal operation, input transistor 507 receives reference voltage VREFPERI on lead 19, having a value of 1.25 V. This reference voltage is duplicated at the control gate of input transistor 521 through the feedback path provided by drive transistor 525 and the supply reference circuit. This supply reference circuit forms a voltage divider with P channel transistors 535 and 537 having the same W/L=2/25. Thus, the value of supply voltage VPERI is twice the voltage on lead 527 or 2.5 V. This supply voltage op amp circuit, therefore, has a gain of 2. This is highly advantageous, because it permits scaled regulation of a supply voltage with a stable reference voltage having a lower magnitude. This lower magnitude permits regulation over a wide range of external voltage Vdd ext even with the inherent loss of threshold voltages across P channel transistors 503 and 515 and N channel transistor 511.

The schematic diagram of FIG. 6A depicts a standby Vpp level detector circuit of the instant invention with voltage subtraction. A reference circuit including series-connected P channel transistors 601, 603, 607 and 609 receives reference voltage VPPREFA on lead 22 and produces an output reference voltage on lead 605 by linear voltage subtraction. This linear voltage subtraction is independent of transistor threshold voltage variation and body effect, because all transistors are the same size and the bulk terminal of each transistor is directly connected to its source. For example, transistor threshold voltage is:

Vth=Vt 0+BE[(Vbs+2ψf)^(½)−(2ψf)^(½)]

where the Fermi potential is

ψf=KT ln(Na/ni)/q

the body effect parameter is

BE=t _(ox)/∈_(ox)(2q∈ _(si) Na)

and Vbs is bulk-substrate voltage of the P-channel transistor. When the bulk terminal is directly connected to its source, however, Vth is equal to Vt0. The current through each transistor in the reference circuit in saturation mode is:

Ids=K′W/L(Vgs−Vth)²

and equating drain currents for each transistor of the reference circuit produces the following three equations.

K′W/L(V 602−Vpp−Vth)² =K′W/L(VPPREFA−V 602−Vth)²

K′W/L(VPPREFA−V 602−Vth)² =K′W/L(V 608−V 605−Vth)²

K′W/L(V 608−V 605−Vth)² =K′W/L(0−V 608−Vth)²

Eliminating K′W/L, taking the square root of each equation and eliminating Vth produces the following simplified equations.

V 602−Vpp=VPPREFA−V 602

VPPREFA−V 602=V 608−V 605

V 608−V 605=V 608

The solution to these equations shows that the reference voltage at lead 605 (V605) is equal to Vpp minus VPPREFA. Since the design target of the reference circuit is a voltage of 1.6 V (VPPREF) at lead 605 that follows Vpp variations, and Vpp is equal to 3.4 V, reference voltage VPPREFA is set to 1.8 V. Thus, the level of the reference voltage at lead 605 is:

V 605=Vpp−VPPREFA=3.4 V−1.8 V=1.6 V

The reference circuit output 605 is connected to the control gate of a first input transistor 617 of a comparator. Reference voltage VPPREF is applied to the control gate of the other input transistor 619. The comparator produces a control signal at terminal 625 that is buffered by inverter 627 to produce control signal VPPSLOW on lead 28. This control signal VPPSLOW is normally low and goes high when the reference voltage on lead 605 indicates supply voltage Vpp is below a desired level.

Turning now to FIG. 6B, an active Vpp level detector circuit will now be described in detail. The level detector circuit receives a low level control signal VPRDB on lead 24 to indicate active mode operation. Inverter 671 produces a high level signal to turn on N channel transistor 657 of a level translator further including transistors 651, 653 and 655. N channel transistor 657 connects the control gate of transistor 663 to ground. Thus, transistors 661 and 663 form a two-transistor voltage subtraction circuit similar to the previously described reference circuit of the standby level detector. Likewise, the reference voltage on lead 665 is equal to Vpp minus VPPREFA. In the active mode, Inverters 673 and 675 produce low and high output signals, respectively, to activate CMOS pass gate 667, thereby applying the reference voltage on lead 665 to the control gate of input transistor 679. This reference voltage is compared to VPPREF at the control gate of input transistor 685, thereby producing a control signal on output lead 681. This control signal is buffered by P channel transistor 654 and inverted by NAND gate 660 to produce control signal VPPALOW on lead 29. This control signal is normally low and goes high when Vpp is below a desired level.

Simulation waveforms of FIG. 8A illustrate operation of the Vpp level detector circuit for Vpp variation between 2.4 V and 4.4 V., Control signal VPPLOW is initially low as supply voltage Vpp is decreased. When Vpp is less than 3.4 V, the lead 658 is driven low producing a high control signal VPPALOW on lead 29 for activating Vpp generator 80. Likewise, as supply voltage Vpp becomes more positive and reaches the target level of 3.4 V, control signal VPPLOW is driven low to disable Vpp generator 80. Thus, the Vpp level detector accurately regulates the Vpp supply voltage level through linear voltage subtraction independent of transistor threshold voltage variation.

In standby mode, control signal VPRDB goes high, and the low-level output of inverter 671 turns off transistor 657 and turns on transistor 655. This produces a high level output from the level translator on lead 659, thereby turning off transistor 663. Output signals from inverters 673 and 675 turn off CMOS pass gate 667 and transistor 687 and turn on transistor 669 and 652. This disables the comparator and produces a high-level control signal VPPALOW on lead 29.

The multiplex circuit 69 of FIG. 6C receives a low level control signal VPRDB on lead 24 for selecting the active Vpp level detector signal VPPALOW by turning on CMOS pass gate 691. Alternatively, the multiplex receives a high-level control signal VPRDB for selecting the standby Vpp level detector signal VPPSLOW by turning on CMOS pass gate 693. The selected level detector signal is then applied to lead 31 to produce control signal VPPLOW. This control signal is then applied to Vpp generator circuit 80 (FIG. 1) to produce supply voltage Vpp on lead 32.

Turning now to FIG. 7, there is a schematic diagram of a Vbb level detector circuit of the instant invention using voltage addition. A first reference circuit including transistors 701 and 705 produces a reference voltage equal to half the VARY voltage at lead 703. This reference level is applied to the control gate of transistor 707 of a second reference circuit including transistors 707, 709 and 711. An analysis of this second reference circuit similar to the one previously described shows that the reference voltage at output lead 713 is equal to the sum of Vbb and twice the difference between voltage VARY and the voltage on lead 703 or 2 (1.8 V−0.9 V)−0.9 V=0.9 V. This reference voltage is compared to reference voltage VREFARY on lead 21 to produce an output signal on lead 729. This output signal is inverted to produce control signal VBBLOWB on lead 33, which is applied to Vbb generator 85 (FIG. 1) to produce supply voltage Vbb on lead 34.

Simulation waveforms of FIG. 8B illustrate operation of the Vbb level detector circuit for Vbb variation between −0.6 V and −1.4 V. Control signal VBBLOWB is initially high as supply voltage Vbb is increased. When Vbb becomes more positive than −0.9 V, the reference voltage on lead 713 becomes more positive than reference voltage VREFARY on lead 21. This positive difference voltage drives control signal VBBLOWB low for activating Vbb generator 85. Likewise, as supply voltage Vbb becomes more negative and reaches the target level of −0.9 V, control signal VBBLOWB is driven high to disable Vbb generator 85. Thus, the Vbb level detector accurately regulates the Vbb supply voltage level through linear voltage addition independent of transistor threshold voltage variation.

This circuit offers significant advantages over reference circuits of the prior art. First, it does not depend on a discrete number of transistor threshold voltages for voltage detection. Stable reference voltages derived from a bandgap reference generator circuit and a voltage multiplier circuit regulate the voltage supplies. Second, the voltage comparator circuits derive reference voltages from actual supply voltages through linear voltage translation. Comparator circuits need not compare actual supply voltages to target reference voltages and are capable, therefore, of operating at very low external supply voltage levels. Third, the method of linear voltage translation is independent of variation of transistor threshold voltage due to body effect. Finally, this method of detection is approximately linear over the supply voltage range of interest.

Although the invention has been described in detail with reference to its preferred embodiment, it is to be understood that this description is by way of example only and is not to be construed in a limiting sense. For example, the bandgap reference circuit of FIG. 2 might be modified for very low voltage operation by including only two P channel transistors in series with bipolar transistors 215 and 217. Control gates of these P channel transistors would be connected to the output of a comparator that had input terminals connected to leads 210 and 212, respectively. This would maintain advantages of the bandgap reference circuit without threshold voltage losses due to the current mirrors. It is to be further understood that numerous changes in the details of the embodiments of the invention will be apparent to persons of ordinary skill in the art having reference to this description. It is contemplated that such changes and additional embodiments are within the spirit and true scope of the invention as claimed below. 

What is claimed is:
 1. A circuit, comprising: a bandgap reference circuit including at least one bipolar transistor, the bandgap reference circuit arranged to produce a reference voltage corresponding to a current through the at least one bipolar transistor; a multiplier circuit coupled to receive the reference voltage, the multiplier circuit producing a reference current through a resistive element in response to the reference voltage, the resistive element having plural output terminals including a first output terminal, the resistive element producing plural multiplied reference voltages at corresponding output terminals; a comparator circuit having first and second input terminals and having a comparator output terminal, the first input terminal coupled to receive a multiplied reference voltage at the first output terminal, the comparator circuit arranged to produce a supply voltage at the comparator output terminal; a drive transistor having a current path connected between a voltage supply terminal and a second output terminal and having a gate; a buffer transistor having a current path connected between the voltage supply terminal and the gate of the drive transistor and having a gate connected to the comparator output terminal; and a supply reference circuit coupled between the second output terminal and a reference terminal, the supply reference circuit having at least one output terminal coupled to the second input terminal, the supply reference circuit arranged for producing a supply reference voltage having a magnitude that is different than a magnitude of the supply voltage.
 2. A circuit as in claim 1, wherein the magnitude of the supply voltage is twice the magnitude of the supply reference voltage.
 3. A circuit as in claim 1, wherein the bandgap reference circuit comprises: a first current mirror circuit connected to a supply voltage terminal; and a second current mirror circuit connected in series between the first current mirror circuit and the at least one bipolar transistor.
 4. A circuit as in claim 3, wherein the first current mirror circuit comprises at least two P-channel transistors connected in series, each of the P-channel transistors having substantially the same width and length.
 5. A circuit as in claim 4, comprising: a first P-channel transistor having a current path connected to a voltage supply terminal and having a gate connected to a gate of one of the at least two P-channel transistors; a second P-channel transistor having a current path connected in series with current path of the first P-channel transistor and having a gate connected to a gate of another of the at least two P-channel transistors; and a bipolar transistor having a current path connected between the current path of the second P-channel transistor and a reference terminal.
 6. A circuit as in claim 3, wherein the second current mirror circuit comprises at least one N-channel transistor.
 7. A circuit as in claim 3, wherein the at least one bipolar transistor comprises a first and a second bipolar transistor having respective base terminals connected together, and wherein an area of one of the first and second bipolar transistors is an integral multiple of an area of the other of the first and second bipolar transistors.
 8. A circuit as in claim 1, wherein the multiplier circuit comprises: a second comparator circuit having a third input terminal coupled to receive the reference voltage, a fourth input terminal coupled to the resistive element, and an output terminal; and a transistor having a current path connected in series with the resistive element and having a gate connected to the output terminal of the second comparator circuit, the transistor arranged to conduct the reference current.
 9. A circuit as in claim 1, wherein the multiplier circuit comprises a multiplex circuit having first and second input terminals, an output terminal, and a control terminal, wherein the multiplex circuit is coupled to receive a first multiplied reference voltage at the first input terminal and produce the first multiplied reference voltage at the output terminal in response to a control signal applied to the control terminal, and wherein the multiplex circuit is coupled to receive a second voltage at the second input terminal and produce the second voltage at the output terminal in response to the control signal.
 10. A circuit as in claim 9, wherein the control signal is a test signal and wherein the second voltage is a test voltage. 